package com.cm.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cm.order.entity.Address;
import com.cm.order.entity.dto.AddressKeyWordDTO;
import com.cm.order.entity.vo.AddressVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @类 名:AddressMapper </br>
 * @描 述:<br>
 * @日 期:2020/9/25 17:00 </br>
 * @作 者:小兰同学</br>
 * @版 本：1.0.0
 * @since JDK 1.8
 */
@Repository
public interface AddressMapper extends BaseMapper<Address> {
    List<AddressVO> getAddressList(AddressKeyWordDTO addressKeyWordDTO);
    int getAddressTotal(AddressKeyWordDTO addressKeyWordDTO);
}
